package entity

import "time"

type AttrCategoryEntity struct {
	AttrCategoryId int64     `gorm:"attr_category_id;primary_key"` // 属性与分类关联id
	CreateTime     time.Time `gorm:"create_time"`                  // 创建时间
	UpdateTime     time.Time `gorm:"update_time"`                  // 更新时间
	CategoryId     int64     `gorm:"category_id"`                  // 分类id
	AttrId         int64     `gorm:"attr_id"`                      // 属性id
}

func (*AttrCategoryEntity) TableName() string {
	return "attr_category"
}
